﻿<?xml version="1.0" encoding="utf-8" ?>
<DataStructure>
  <TableStructure>
    <Table  Name="Menus" Description="用户" Type="MasterData"  ClassName="Menu">
      <Field Name="MenuUID" Description="菜单编码" DbType="int" PSize="" SSize="" DefaultValue="" PropertyName="MenuUID" IsPrimaryKey="Yes" IsUnionKey="" IsNull=""/>
      <Field Name="ParentUID" Description="父菜单" DbType="int" PSize="" SSize="" DefaultValue="" PropertyName="ParentUID" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
      <Field Name="MenuName" Description="菜单名称" DbType="nvarchar" PSize="max" SSize="" DefaultValue="" PropertyName="MenuName" IsPrimaryKey="" IsUnionKey="" IsNull=""/>
      <Field Name="MenuType" Description="菜单类型" DbType="char" PSize="1" SSize="" DefaultValue="" PropertyName="MenuType" IsPrimaryKey="" IsUnionKey="" IsNull="">
        <ValidDataType name="BOMenuType">
          <ValidValue Name="Function" value="F" Description="功能"/>
          <ValidValue Name="Models" value="M" Description="模块"/>
          <ValidValue Name="Report" value="R" Description="报表"/>
        </ValidDataType>
      </Field>
      <Field Name="Creator" Description="创建人" DbType="int" PSize="" SSize="" DefaultValue="" PropertyName="Creator" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
      <Field Name="CreateDate" Description="创建时间" DbType="Datetime" PSize="" SSize="" DefaultValue="" PropertyName="CreateDate" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
      <Field Name="Updator" Description="更新人" DbType="int" PSize="" SSize="" DefaultValue="" PropertyName="Updator" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
      <Field Name="UpdateDate" Description="更新时间" DbType="Datetime" PSize="" SSize="" DefaultValue="" PropertyName="UpdateDate" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
      <Field Name="Remarks" Description="备注" DbType="ntext" PSize="" SSize="" DefaultValue="" PropertyName="Remarks" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
    </Table>
  </TableStructure>
  <ObjectStructure>
    <Object ObjectType="MasterData" ObjectCode="Menus" ObjectName="菜单" TableName="Menus" NameSpace="Menu" IsLog="">
    </Object>
  </ObjectStructure>
</DataStructure>